package com.warmheart.core.ex.base;

import com.warmheart.core.enums.WhEnum;

/**
 * 
 * @ClassName: WhException
 * @Description: 异常接口，可扩展不同类型响应码异常
 * @author ZhangJianyang
 * @date 2025-06-16 09:37:02
 *
 * @param <K>
 */
public interface WhException<K> {

    /**
     * 
     * @Title: coreWhEnum
     * @Description: 默认核心枚举
     * @author ZhangJianyang
     * @return
     */
    public WhEnum<K> coreWhEnum();

    /**
     * 
     * @Title: getWhEnum
     * @Description: 响应枚举类型
     * @author ZhangJianyang
     * @return
     */
    public WhEnum<K> getWhEnum();
}
